Platform Explorer / Nuxeo Platform 2021

Operation Document.PublishToSections (Multi-Publish)

Description

Publish the input document(s) into several target sections. The target is evaluated to a document list (can be a path, UID or EL expression). Existing proxy is overridden if the override attribute is set. Returns a list with the created proxies.
Operation id Document.PublishToSections
AliasesDocument.MultiPublish
Category Document
Label Multi-Publish
Requires
Since

Parameters

Name Description Type Required Default value
target documents yes  
override boolean no true 

Signature

Inputs document, documents
Outputs documents, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.MultiPublishDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.PublishToSections",
  "aliases" : [ "Document.MultiPublish" ],
  "label" : "Multi-Publish",
  "category" : "Document",
  "requires" : null,
  "description" : "Publish the input document(s) into several target sections. The target is evaluated to a document list (can be a path, UID or EL expression). Existing proxy is overridden if the override attribute is set. Returns a list with the created proxies.",
  "url" : "Document.PublishToSections",
  "signature" : [ "document", "documents", "documents", "documents" ],
  "params" : [ {
    "name" : "target",
    "description" : null,
    "type" : "documents",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "override",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}